/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.uoc.tdp.pac4.beans;

import java.io.Serializable;

/**
 *
 * @author hphis
 * CREATE TABLE Proveidor (
    IdProveidor integer NOT NULL,
    Nom character varying NOT NULL
);
 */
public class Proveidor2 implements Serializable{
    
    private static final long serialVersionUID = 1L;
    private int idProveidor;
    private String nom;

    public Proveidor2() {
    }

    public Proveidor2(int idProveidor, String nom) {
        this.idProveidor = idProveidor;
        this.nom = nom;
    }

    public int getIdProveidor() {
        return idProveidor;
    }

    public String getNom() {
        return nom;
    }

    public void setIdProveidor(int idProveidor) {
        this.idProveidor = idProveidor;
    }

    public void setNom(String nom) {
        this.nom = nom;
    }
    
    
}
